﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyCode.Project.Domain.Message.Request.User
{
    /// <summary>
    /// 最全注册的页面
    /// </summary>
    public class MemberGetTokenRequest
    {      

        public string EncryptedData { get; set; }

        public string Iv { get; set; }

        /// <summary>
        ///  小程序进入的参数，比如id,小程序码产生传参为scene
        /// </summary>
        public string Scene { get; set; }


        /// <summary>
        /// 生日日期
        /// </summary>
        public string Birthday { get; set; }

        /// <summary>
        /// 手机号码
        /// </summary>
        public string Mobile { get; set; }          

        /// <summary>
        /// 发卡店铺ID,前端不用传
        /// </summary>
        public Guid? ShopId { get; set; }

        /// <summary>
        /// 营销顾问ID,前端不用传
        /// </summary>
        public Guid? ClerkId { get; set; }

        /// <summary>
        /// 缓存索引字符串
        /// </summary>
        public Guid? CacheString { get; set; }


    }

    /// <summary>
    /// 小程序码参数缓存的对象
    /// </summary>
    public class ActivityScene
    {
        /// <summary>
        ///会员门票来源类型 0：加盟商 1：店员 2：会员 3:自主领取 4 直播分享
        /// </summary>
        public int? SourceType { get; set; }

        /// <summary>
        ///分享人ID( 加盟商:传加盟商ID  店员:传店员ID  会员:传会员ID)
        /// </summary>
        public Guid? ShareId { get; set; }

        /// <summary>
        ///  活动ID
        /// </summary>
        public Guid? ActivityId { get; set; }

        /// <summary>
        ///分享店铺ID
        /// </summary>
        public Guid? ShopId { get; set; }

        /// <summary>
        /// 店铺参加活动主键ID
        /// </summary>
        public Guid? Id { get; set; }

        /// <summary>
        /// 小程序图片路径地址
        /// </summary>
        public string MiniCodeUrl { get; set; }

        /// <summary>
        /// 海报背景图路径地址
        /// </summary>
        public string PosterUrl { get; set; }

        /// <summary>
        /// 活动类型 -1 : 什么活动都没有，纯扫码注册   0=裂变门票活动  1=新店活动 2=99女神卡活动  3=通用类型 4=分销关系链活动 5 直播
        /// 6= 优惠券活动
        /// </summary>           
        public int ActivityType { get; set; }

        /// <summary>
        /// 直播时的OPENID
        /// </summary>
        public string OpenId { get; set; }

        /// <summary>
        /// 脸部识别主键
        /// </summary>
        public string FaceId { get; set; }

        /// <summary>
        /// 脸部图片Url
        /// </summary>     

        public string FaceImgUrl { get; set; }


    }
    /// <summary>
    /// 会员主动绑定营销顾问
    /// </summary>
    public class SetMemberConsultant
    {
        /// <summary>
        /// 发卡店铺ID 
        /// </summary>
        public Guid? ShopId { get; set; }

        /// <summary>
        /// 营销顾问ID 
        /// </summary>
        public Guid? ClerkId { get; set; }

        /// <summary>
        /// 缓存索引字符串
        /// </summary>
        public Guid? CacheString { get; set; }
    }

    public class JsCodeToken
    {
        /// <summary>
        /// JsCode
        /// </summary>
        public string JsCode { get; set; }

        /// <summary>
        /// Token
        /// </summary>
        public string Token { get; set; }
    }

    //会员手动新增营销顾问关系
    public class AddMemberConsultant
    {
        /// <summary>
        /// 店铺ID
        /// </summary>
        public Guid? ShopId { get; set; }
    }
}
